// <copyright file="Series.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

namespace YUIAspNet
{
    /// <summary>
    /// Base class for the Chart control.
    /// </summary>
    public abstract class Series
    {
        string _type = string.Empty;

        /// <summary>
        /// Initializes a new instance of the <see cref="Series"/> class.
        /// </summary>
        /// <param name="type">The type of chart.</param>
        protected Series(string type) 
        {
            _type = type;
        }

        /// <summary>
        /// Gets the type of the chart.
        /// </summary>
        /// <value>The type.</value>
        public string SerieType 
        { 
            get { return _type; } 
        }

        /// <summary>
        /// Gets or sets the display name.
        /// </summary>
        /// <value>The display name.</value>
        public string DisplayName { get; set; }
    }
}
